{% extends 'AdminPanelDashboardBundle::layout.html.twig' %}


{% block stylesheets %}
  {{ parent() }}
{% endblock %}
{% block content %}

<div id="content">
  <ul class="breadcrumb">
    <li><a href="/admin" class="glyphicons home"><i></i> Нүүр хуудас</a></li>
    <li class="divider"></li>
    <li><a href="{{ path('mainSlider') }}">Main slider</a></li>
  </ul>
  <div class="separator"></div>

  <div class="heading-buttons">
    <h3 class="glyphicons sort"><i></i> Main slider</h3>
    <div class="buttons pull-right">
      <a href="{{ path('mainSlider_new') }}" class="btn btn-primary btn-icon glyphicons circle_plus"><i></i> Шинэ slide</a>      
    </div>
  </div>
  <div class="separator"></div>
  
  <form action="{{ path('mainSlider_create') }}" method="post" {{ form_enctype(form) }} class="form-horizontal" style="margin-bottom: 0;">
    {{ form_widget(form) }}
      <p>
        <button type="submit">Create</button>
      </p>
    </form>
    <br/>		
    <!-- End Content -->
  </div>

{% endblock %}
